package com.fw.ui.bean;

import java.util.Date;

import com.fw.service.bean.BaseBean;
import com.fw.service.bouserauthentication.bean.BOUserAuthenticationBean;

public class AuthenticationBean extends BaseBean {

    private static final long serialVersionUID = 1L;

    public Long userId;
    public String username;
    public Long roleId;
    public String roleName;
    public String userStatus;
    public String employeeName;
    public Date lastLoginDate;
    public Boolean passwordNotificationExpire;
    public Long diffDays;

    public AuthenticationBean() {

    }

    public AuthenticationBean(Long userId, String username, Long roleId, String roleName, String userStatus, String employeeName,
	    Date lastLoginDate, Boolean passwordNotificationExpire, Long diffDays) {
	this.userId = userId;
	this.username = username;
	this.roleId = roleId;
	this.roleName = roleName;
	this.userStatus = userStatus;
	this.employeeName = employeeName;
	this.lastLoginDate = lastLoginDate;
	this.passwordNotificationExpire = passwordNotificationExpire;
	this.diffDays = diffDays;
    }

    public AuthenticationBean(BOUserAuthenticationBean boUserAuthenticationBean) {
	this.userId = boUserAuthenticationBean.getUserId();
	this.username = boUserAuthenticationBean.getUsername();
	this.roleId = boUserAuthenticationBean.getRoleId();
	this.roleName = boUserAuthenticationBean.getRoleName();
	this.userStatus = boUserAuthenticationBean.getUserStatus();
	this.employeeName = boUserAuthenticationBean.getEmployeeName();
	this.lastLoginDate = boUserAuthenticationBean.getLastLoginDate();
	this.passwordNotificationExpire = boUserAuthenticationBean.getPasswordNotificationExpire();
	this.diffDays = boUserAuthenticationBean.getDiffDays();
    }

    public Long getUserId() {
	return userId;
    }

    public void setUserId(Long userId) {
	this.userId = userId;
    }

    public String getUsername() {
	return username;
    }

    public void setUsername(String username) {
	this.username = username;
    }

    public Long getRoleId() {
	return roleId;
    }

    public void setRoleId(Long roleId) {
	this.roleId = roleId;
    }

    public String getRoleName() {
	return roleName;
    }

    public void setRoleName(String roleName) {
	this.roleName = roleName;
    }

    public String getUserStatus() {
	return userStatus;
    }

    public void setUserStatus(String userStatus) {
	this.userStatus = userStatus;
    }

    public String getEmployeeName() {
	return employeeName;
    }

    public void setEmployeeName(String employeeName) {
	this.employeeName = employeeName;
    }

    public Date getLastLoginDate() {
	return lastLoginDate;
    }

    public void setLastLoginDate(Date lastLoginDate) {
	this.lastLoginDate = lastLoginDate;
    }

    public Boolean getPasswordNotificationExpire() {
	return passwordNotificationExpire;
    }

    public void setPasswordNotificationExpire(Boolean passwordNotificationExpire) {
	this.passwordNotificationExpire = passwordNotificationExpire;
    }

    public Long getDiffDays() {
	return diffDays;
    }

    public void setDiffDays(Long diffDays) {
	this.diffDays = diffDays;
    }

}